﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OnlineReservation.ascx.cs"
    Inherits="blackhouse.Aparts.Web.Modules.OnlineReservation" %>
<asp:HiddenField runat="server" ID="onlineReservation_ApartmentId" ClientIDMode="Static" Visible="false" />
<div class="red-box2 r16to12 reservation-box">
    <h3 class="title tit-v2 pb-10"><%=GetGlobalResourceObject("Aparts", "reservationOnline").ToString().ToUpper()%>
        <asp:Label runat="server" CssClass="darker" ID="lblTitleExpanded" Visible="false" Text="<%$ Resources:Aparts,checkAvalible %>"></asp:Label>
    </h3>
    <asp:Panel runat="server" ID="pnlReservationDescription" CssClass="after-title" Visible="false">
        <%=GetGlobalResourceObject("Aparts","reservationLid") %>
    </asp:Panel>
    <div class="fb-calendars">
        <div class="arrival">
            <div class="tit-v3 fl">
                <asp:HiddenField runat="server" ID="arrivalDate" ClientIDMode="Static" />

                <%=GetGlobalResourceObject("Aparts", "arrivalDate").ToString().ToUpper() %>:
            </div>
            <div class="or-date-text or-arrival-date-text">
                <%=GetGlobalResourceObject("Aparts","selectDates") %>
            </div>
            <div class="clear">
            </div>
            <div id="arrival-date">
            </div>
        </div>
        <div class="departure">
            <div class="tit-v3 fl">
                <asp:HiddenField runat="server" ID="departureDate" ClientIDMode="Static" />
                <%=GetGlobalResourceObject("Aparts", "departureDate").ToString().ToUpper() %>:
            </div>
            <div class="or-date-text or-departure-date-text">
                <%=GetGlobalResourceObject("Aparts","selectDates") %>
            </div>
            <div class="clear">
            </div>
            <div id="departure-date">
            </div>
        </div>
        <div class="clear">
        </div>
        <div class="persons">
            <div class="tit-v3">
                <%=GetGlobalResourceObject("Aparts", "numberOfPeople").ToString().ToUpper()%>:
            </div>
            <asp:DropDownList runat="server" ID="ddlPeoplesCount" CssClass="or-peoplecount">
            </asp:DropDownList>
        </div>
        <asp:LinkButton runat="server" ID="lnkSubmit" CssClass="white-button fr" OnClick="lnkSubmit_Click">
    <%=GetGlobalResourceObject("Aparts", "calculate")%>
        </asp:LinkButton>
        <input type="hidden" name="submitReservation" />
    </div>
    <asp:Panel ID="pnlLegend" CssClass="legend" runat="server" Visible="false">
        <h5><%=GetGlobalResourceObject("Aparts","legend") %></h5>
        <ul>
            <li>
                <img src="/Data/SiteImages/calendar-active.jpg" alt="<%=GetGlobalResourceObject("Aparts","selectedPeriod").ToFirstUpperString() %>" />
                <%=GetGlobalResourceObject("Aparts","selectedPeriod") %></li>
            <li>
                <img src="/Data/SiteImages/calendar-avalible.jpg" alt="<%=GetGlobalResourceObject("Aparts","freePeriod").ToFirstUpperString() %>" />
                <%=GetGlobalResourceObject("Aparts","freePeriod") %></li>
            <li>
                <img src="/Data/SiteImages/calendar-unavalible.jpg" alt="<%=GetGlobalResourceObject("Aparts","unfreePeriod").ToFirstUpperString() %>" />
                <%=GetGlobalResourceObject("Aparts","unfreePeriod") %></li>
        </ul>
    </asp:Panel>
    <asp:Panel runat="server" ID="pnlLoadingAvalibles" CssClass="legend loading-avalibles" Visible="false">
        <div class="bord-arrow"></div>
        <%=GetGlobalResourceObject("Aparts","loadingAvability") %>
    </asp:Panel>
    <asp:Panel runat="server" ID="pnlUnavalibleApartment" CssClass="legend unavalible-apartment" Visible="false">
        <div class="bord-arrow"></div>
        <%=GetGlobalResourceObject("Aparts","occupiedApartment") %> 
    </asp:Panel>
    <div class="clear">
    </div>
      <div class="ro-information ors-loading" ID="avalible-status-loader" style="display:none">
        <img src="/Data/SiteImages/285.gif" />
        <%=GetGlobalResourceObject("Aparts","checkAvabilityAndPrice") %>
    </div>
    <div class="avalible-status-wrap" style="display: none" id="avalible-status">
        <div class="avalible-status">
            <a href="<%=blackhouse.BlackApart.Web.UrlUtils.LocalizeUrl("/Pages/OnlineReservationStatus.aspx") %>" id="avalible-status-url"></a>
        </div>
    </div>
    <div class="clear">
    </div>
</div>
